/**   
* @Title: CommonUtils.java 
* @Package utils 
* @Description: TODO 
* @author mazhongrui  
* @date 2021年4月26日 下午9:58:02 
* @version    
*/
package com.xoa.util.archive;

import java.math.BigInteger;

/** 
 * @ClassName: CommonUtils 
 * @Description: TODO
 * @version  
 */
public class CommonUtils {
	 public static String getpfpID() {
	        String mathstr = System.currentTimeMillis() + "";
	        String addstr = "";
	        while (true) {
	            addstr = "" + (int) Math.floor(Math.random() * 1000000);
	            if (addstr.length() == 6) {
	                mathstr = mathstr + addstr;
	                break;
	            }
	        }
	        BigInteger id = new BigInteger(mathstr);
	        return id.toString();
	    }
}
